namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 扫描记录
    /// </summary>
    public DbSet<POLogScanner> LogScanners { get; set; }
}

/// <summary>
/// 扫描记录
/// 表[log_scanner]
/// </summary>
[Table("log_scanner")]
public class POLogScanner
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[log_scanner.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 条码号
    /// [log_scanner.barcode)]
    /// </summary>
    [Column("barcode")]
    public string Barcode { get; set; }
    /// <summary>
    /// 开始位置
    /// [log_scanner.start_loc)]
    /// </summary>
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// 0：扫描；1：添加失败；2：添加成功；3：已执行
    /// [log_scanner.status)]
    /// </summary>
    [Column("status")]
    public int? Status { get; set; }
    /// <summary>
    /// 任务创建成功/失败时间
    /// [log_scanner.status_time)]
    /// </summary>
    [Column("status_time")]
    public DateTime? StatusTime { get; set; }
    /// <summary>
    /// [log_scanner.scanner_count)]
    /// </summary>
    [Column("scanner_count")]
    public int? ScannerCount { get; set; }
    /// <summary>
    /// 扫描计数
    /// [log_scanner.tire_count)]
    /// </summary>
    [Column("tire_count")]
    public long? TireCount { get; set; }
    /// <summary>
    /// [log_scanner.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// 创建时间
    /// [log_scanner.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [log_scanner.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [log_scanner.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 0小胎高度  1大胎高度
    /// [log_scanner.height_type)]
    /// </summary>
    [Column("height_type")]
    public int? HeightType { get; set; }
}
